﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EvidenceLib.Base;
using EvidenceLib.System;

namespace EvidenceLib.Case
{
    public class StockBill:Bill
    {
        /// <summary>
        /// 案件物品单据id
        /// </summary>
        public virtual int CaseId { get; set; }
        /// <summary>
        /// 源单据类型
        /// 设计失误，所有的sourceBill都应该是 物品单 ! 
        /// </summary>
        public virtual BillTypeEnum SourceBillType { get; set; }
        /// <summary>
        /// 源单据id
        /// </summary>
        public virtual int SourceBillId { get; set; }
        /// <summary>
        /// 源单编号
        /// </summary>
        public virtual string SourceSerialNo { get; set; }
        /// <summary>vir
        /// 送交部门
        /// </summary>
        public virtual Organization TransferDept { get; set; }
        /// <summary>
        /// 送交人
        /// </summary>
        //public virtual User Transfer { get; set; }
        /// <summary>
        /// 送交人
        /// </summary>
        public virtual string TransferName { get; set; }
        /// <summary>
        /// 办案人员电话号码
        /// </summary>
        public virtual string TransferPhone { get; set; }
        /// <summary>
        /// 保管部门
        /// </summary>
        public virtual Organization ManageDept { get; set; }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public virtual StockType StockType { get; set; }
        /// <summary>
        /// 是否确认
        /// </summary>
        public virtual bool IsConfirm { get; set; }
        /// <summary>
        /// 确认人
        /// </summary>
        public virtual User Confirmer { get; set; }
        /// <summary>
        /// 确认部门
        /// </summary>
        public virtual Organization ConfirmDept { get; set; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public virtual DateTime? ConfirmTime { get; set; }
        /// <summary>
        /// 是否核销（用于调用出库单）
        /// </summary>
        public virtual bool IsVerification { get; set; }
    }
}
